powered by
data.set(object)<-value
object
data.set<--methods
x=new("cpt") # new cpt object data.set(x)<-c(1,2,3,4,5) # replaces the existing data.set slot in x with c(1,2,3,4,5)
Run the code above in your browser using DataLab